import request from "@/utils/request";

// 物资头部统计
export function materialHeadStatistics() {
  return request({
    url: "/cld/materialStatistics/materialHeadStatistics",
    method: "get",
  });
}

// 项目统计
export function projectStatistics(query) {
  return request({
    url: "/cld/materialStatistics/projectStatistics",
    method: "get",
    params: query,
  });
}

// 项目统计明细
export function projectDetailsList(query) {
  return request({
    url: "/cld/materialStatistics/projectDetailsList",
    method: "get",
    params: query,
  });
}

// 类别统计
export function commodityTypeStatistics(query) {
  return request({
    url: "/cld/materialStatistics/commodityTypeStatistics",
    method: "get",
    params: query,
  });
}

// 类别统计明细
export function commodityTypeDetailsList(query) {
  return request({
    url: "/cld/materialStatistics/commodityTypeDetailsList",
    method: "get",
    params: query,
  });
}

// 商品统计
export function commodityStatistics(query) {
  return request({
    url: "/cld/materialStatistics/commodityStatistics",
    method: "get",
    params: query,
  });
}

// 调入明细
export function transferDetails(query) {
  return request({
    url: "/cld/materialStatistics/transferDetails",
    method: "get",
    params: query,
  });
}

// 备货统计
export function stockAppDetails(query) {
  return request({
    url: "/cld/materialStatistics/stockAppDetails",
    method: "get",
    params: query,
  });
}
